<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" id="vp" content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<title>考勤</title>
		<link rel="stylesheet" type="text/css" href="../../../css/style.css">
		<link rel="stylesheet" type="text/css" href="../../../css/mui.min.css">
		<link rel="stylesheet" type="text/css" href="../../../src/style.css">
		
		<script>
			
		</script>
	</head>
	<body> 
	
	<script src="../../../js/jquery-1.8.3.min.js"></script>
	<script src="../../../js/mui.min.js"></script>
	<script src="../../../js/app.js"></script>
	<script src="../../../js/vue.min.js"></script>
	<script>
		mui.init({
				gestureConfig: {
					doubletap: true,
					longtap: true, //默认为false 
				},
				subpages: [{  
					url: 'registerrefresh.html',
					id: 'registerrefresh',
					styles: {  
						top: '41px', 
						bottom: '0'
					}
				}]
			});
			 //处理返回键
        var backButtonPress = 0;
        mui.back = function(event) {
            var ws = plus.webview.currentWebview()
            if (ws) {
                ws.close();
            } else {
                backButtonPress++;
                if (backButtonPress > 1) {
                    plus.runtime.quit();
                } else {
                    plus.nativeUI.toast('再按一次退出应用');
                }
                setTimeout(function() {
                    backButtonPress = 0;
                }, 1000);
                return false;
            }
        };
    </script>
	</body>
    
</html>
